@import "include-media";

$breakpoints: (phone: 320px, tablet: 769px, desktop: 1324px, hignDesktop:1601px);

//@include media(">phone", "<=tablet") {
//  width: 50%;
//}

$nav-height: 110px;
$nav-height-desktop: 80px;

$font-color-primary: #B2996C;
$font-color-secondary: #fff;


body {
  font-family: STYuanti-SC, PingFangSC;
  background: #000;

  a {
    outline: none;
    text-decoration: none;
  }
}

* {
  margin: 0;
  padding: 0;
}

body, html, #index {
  height: 100%;
  @include media('<tablet') {
    height: auto;
  }
}

.swiper-slide {
  width: 100%;
}

.logo-show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: #FFFFFF;

  img {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #start-hint {
    position: absolute;
    bottom: 30px;
    margin: 0 auto;
    width: 100%;


    & > div {
      animation-name: start-hint;
      animation-duration: 2.5s;
      animation-iteration-count: infinite;

      position: relative;
      height: 6px;
      width: 6px;
      margin: 0 auto;
      background-color: #B2996C;
      border-radius: 3px;
      margin-top: 6px;
    }

    #start-hint-2 {
      animation-delay: .3s;
    }

    #start-hint-3 {
      animation-delay: .6s;
    }

    @keyframes start-hint {
      0% {
        opacity: 0;
        top: 0px;
      }

      20% {
        opacity: 0;
        top: 30px;
      }
      80% {
        opacity: 1;
        top: 0px;
      }
      100% {
        opacity: 0;
        top: 0px;
      }
    }
  }
}

#index {

  .swiper-container {
    background: #000;
    -webkit-perspective: 1200px;
    -moz-perspective: 1200px;
    -ms-perspective: 1200px;
    perspective: 1200px;
  }

  .swiper-wrapper, .swiper-slide {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }

  .swiper-container {
    position: relative;
  }

  .swiper-container > .swiper-btn {
    width: 180px;
    height: 55px;
    border: 4px white solid;
    position: absolute;
    z-index: 100;
    bottom: 16%;
    margin-left: -90px;
    left: 50%;
    cursor: pointer;
    text-align: center;
    @include media('<hignDesktop') {
      border-width: 2px;
      height: 50px;
    }

  }

  .swiper-btn > .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url("/static/assets/back/gantan-delight.png");
    background-size: cover;
    line-height: 55px;
    vertical-align: middle;
    @include media('<hignDesktop') {
      width: 20px;
      height: 20px;
      line-height: 50px;
    }
  }

  .swiper-btn:hover {
    background: white;
  }

  .swiper-btn:hover span {
    color: black;
  }

  .swiper-btn:hover .icon {
    background-image: url("/static/assets/back/gantan-light.png");
  }

  .swiper-btn > span {
    color: white;
    margin-left: 20px;
    font-size: 18px;
    line-height: 55px;
    vertical-align: middle;
    @include media('<hignDesktop') {
      line-height: 50px;
    }
  }

  .swiper-nested-1 > .swiper-wrapper {
    //待改进
    height: 100vh !important;
  }

  & > .swiper-container {
    height: 100%;
    @include media('<tablet') {
      height: auto;
    }

    & > .swiper-wrapper {
      height: 100%;
      @include media('<tablet') {
        height: auto;
      }

      & > .swiper-slide {
        height: 100vh;
        text-align: center;
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        @include media('<tablet') {
          height: auto;
        }
      }
    }
  }

  //第一页
  .no1 {
    height: 100vh;
    width: 100%;

    //轮播
    .slide-back {
      position: relative;
      height: 100vh !important;
      @include media('<tablet') {
        height: 50vh !important;
      }
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    @include media('<tablet') {
      height: 50vh !important;
      .swiper-container {
        height: 50vh;

        & > .swiper-btn {
          display: none;
        }

        & > .swiper-wrapper {
          height: 50vh;
        }
      }

      .respire-con {
        display: none;
      }
      .pagination {
        position: absolute;
        z-index: 20;
        bottom: 10px;
        width: 100%;
        text-align: center;
      }
      .swiper-pagination-switch {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 8px;
        background: #555;
        margin: 0 5px;
        opacity: 0.8;
        border: 1px solid #fff;
        cursor: pointer;
      }
      .swiper-active-switch {
        background: #fff;
      }

    }
  }

  //公共页
  .page {
    padding-top: 80px;
    box-sizing: border-box;
    height: 100%;
    @include media('<tablet') {
      padding-top: 23px;
      height: initial;
    }
    //垂直居中
    &::before, &::after, .center {
      display: inline-block;
      vertical-align: middle;
    }

    &::before {
      content: '';
      height: 100%;
    }

    &::after {
      content: '';
      height: 100%;
    }

    //垂直居中

    .center {
      width: 60%;
      margin: auto;

      @include media('<desktop') {
        width: 80%;
      }
      @include media('<tablet') {
        width: 96%;
      }

    }
  }

  .page1 {

    .center > h4 {
      color: #B2996C;
      font-size: 16px;
      margin-bottom: 3px;

    }

    .center > h5 {
      color: #B2996C;
      font-size: 14px;
      margin-bottom: 23px;
    }

    .wrap {
      margin: -3.5px;
      overflow: hidden;
      @include media('<tablet') {
        margin: -1px;
        margin-bottom: 20px;
      }

      .item {
        float: left;
        padding: 3.5px;
        width: (100% / 2);
        box-sizing: border-box;
        @include media('<tablet') {
          width: 50%;
          padding: 1px;
        }
        //四个页
        .panel {
          position: relative;

          &-t {
            position: relative;
            height: 0;
            padding-bottom: (228% / 423 * 100);
            overflow: hidden;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            box-sizing: border-box;
            border: 5px solid white;

            & > img {
              display: none;
            }
          }


          & > .fullbg {
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            text-align: center;
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0);
            overflow: hidden;

            & > * {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              box-sizing: border-box;
            }

            //大于移动才要动画
            @include media('>tablet') {
              &:hover {
                background-color: rgba(0, 0, 0, 0.7);
              }

              &:hover > .title {
                top: 20%;
              }

              &:hover > .desc {
                top: 30%;
                @include media('>hignDesktop') {
                  top: 34%;
                }
                @include media('<desktop') {
                  top: 36%;
                }
              }

              &:hover > .more {
                top: 80%;
              }
            }


            .title {
              top: 50%;
              transition: top 0.4s;
              transform: translateY(-50%);

              h5 {
                color: #ffffff;
                font-size: 16px;
                @include media('>hignDesktop') {
                  font-size: 24px;
                }
                @include media('<tablet') {
                  font-size: 10px;
                }
              }

              h6 {
                font-size: 14px;
                @include media('>hignDesktop') {
                  font-size: 20px;
                }
                @include media('<tablet') {
                  font-size: 9px;
                }
              }
            }

            .desc {
              top: 100%;
              transition: top 0.4s;
              text-align: left;
              padding-left: 20%;
              padding-right: 20%;
              font-size: 11px;
              text-align: justify;
              @include media('>hignDesktop') {
                padding-left: 30%;
                padding-right: 30%;
                font-size: 14px;
                line-height: 18px;
              }

              @include media('<desktop') {
                padding-left: 15%;
                padding-right: 15%;
                font-size: 9px;
                font-size: 10px;
              }

              @include media('<tablet') {
                font-size: 9px;
                font-size: 10px;
              }
            }

            .more {
              width: auto;
              font-size: 0;
              top: 100%;
              left: initial;
              right: 0;
              margin-right: 20%;
              transition: top 0.4s;
              text-align: left;
              border: 1px solid #B39768;
              border-radius: 21px;
              padding: 4px 12px;
              cursor: pointer;
              @include media('>hignDesktop') {
                margin-right: 10%;
              }
              @include media('<tablet') {
                padding: 2px 6px;
              }

              span {
                font-size: 8px;
                color: #B39768;
                vertical-align: middle;
              }

              img {
                margin-left: 3px;
                vertical-align: middle;
              }
            }
          }
        }
      }


    }
  }

  .page2 {
    .wrap {
      overflow: hidden;
      color: #333;
      @include media('<tablet') {
        margin-bottom: 30px;
      }

      .w33 {
        width: (100% / 3);
        @include media('<tablet') {
          width: 50%;
        }
      }

      .w66 {
        width: (100% / 3 * 2);
        @include media('<tablet') {
          width: 100%;
        }
      }

      .h100 {
        padding-bottom: 100%;
        @include media('<tablet') {
          padding-bottom: 50%;
        }
      }

      .h50 {
        padding-bottom: 50%;
        @include media('<tablet') {
          padding-bottom: 100%;
        }
      }

      .h25 {
        padding-bottom: 25%;
        @include media('<tablet') {
          padding-bottom: 50%;
        }
      }

      @include media('<tablet') {

        .tinyPanel:nth-child(1) {
          width: 100%;
        }
        .tinyPanel:last-child {
          width: 100%;

          .block {
            padding-bottom: 50%;
          }
        }
      }


      .tinyPanel {
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        .block {
          height: 0;
        }

        &:hover > .show {
          background-color: rgba(0, 0, 0, 0.7);
        }

        img {
          display: none;
        }

        .tip {
          position: absolute;
          top: 0;
          width: 100%;
          height: 100%;
          display: block;
          color: #333;

          p {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            padding-left: 23px;
            padding-right: 23px;
            font-size: 9px;
            text-align: center;
            width: 100%;
            box-sizing: border-box;
          }
        }

        .show {
          position: absolute;
          top: 0;
          width: 100%;
          height: 100%;
          color: #ffffff;
          text-align: center;
          display: block;

          p {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            padding-left: 23px;
            padding-right: 23px;
            font-size: 9px;
            display: none;
            text-align: center;
            width: 100%;
            box-sizing: border-box;
          }

          &:hover > p {
            display: block;
          }

        }
      }

    }
  }

  .page3 {
    padding-bottom: 90px;
    position: relative;

    .center {
      width: 50%;

      @include media('<tablet') {
        width: 90%;
      }
      @include media('>hignDesktop') {
        width: 60%;
      }

      .swiper-container {
        width: 100%;
        background-color: transparent;

        .swiper-wrapper {
          overflow: hidden;
          display: inline-block;
          width: 100%;
          @include media('<tablet') {
            height: 163vw;
          }

          .swiper-slide {
            width: (100% / 3);
            box-sizing: border-box;
            padding-left: 3px;
            padding-right: 3px;
            @include media('<tablet') {
              width: 100%;
            }

            .panel {
              width: 100%;
              position: relative;
              overflow: hidden;
              background-color: #363636;
              color: #FFFFFF;
              @include media('<tablet') {
                width: 100%;
              }
              @include media('>hignDesktop') {
                //padding-bottom: (196% /4);
              }

              .first {
                width: 100%;
                position: relative;


                .block {
                  position: relative;
                  width: 100%;
                  height: 0;
                  background-size: cover;
                  background-position: center;
                  background-repeat: no-repeat;
                  padding-bottom: (164% / 270 * 100);
                }

                .panel-back {
                  display: none;
                }


                .tip-back {
                  left: 50%;
                  transform: translateX(-50%);
                  top: auto;
                  bottom: -7%;
                  background: rgba(54, 54, 54, 1);
                  padding: 5px;
                  display: inline-block;
                  border-radius: 100%;

                  img {
                    display: block;
                  }
                }

                & > * {
                  position: absolute;
                  top: 0;
                  left: 0;
                }
              }

              .second {
                width: 100%;
                position: relative;

                .block {
                  position: relative;
                  width: 100%;
                  height: 0;
                  padding-bottom: (284% / 270 * 100);
                }

                .panel-content {
                  padding: 20px;
                  height: 100%;
                  box-sizing: border-box;
                  overflow: hidden;

                  .p-wrap {
                    overflow: hidden;
                    height: 100%;

                    .back {
                      color: #404040;
                      text-transform: uppercase;
                      font-size: 20px;
                    }

                    .title {
                      color: #B2996C;
                      position: relative;
                      top: -20px;
                    }

                    .article {
                      font-size: 12px;
                      text-align: left;

                      @include media('>desktop') {
                        margin-top: 10px;
                        font-size: 14px;
                      }

                      @include media('>hignDesktop') {
                        margin-top: 14px;
                        font-size: 16px;
                        padding-left: 10px;
                        padding-right: 10px;
                      }
                    }
                  }

                }

                & > * {
                  position: absolute;
                  top: 0;
                  left: 0;
                }

              }

              //& > img {
              //  width: 100%;
              //}
              //
              //.tip-back {
              //  position: absolute;
              //  left: 50%;
              //  transform: translateX(-50%);
              //  top: 32%;
              //  background: rgba(54, 54, 54, 1);
              //  width: 50px;
              //  height: 50px;
              //  border-radius: 50px;
              //  font-size: 0;
              //  @include media('>hignDesktop') {
              //    width: 80px;
              //    height: 80px;
              //  }
              //
              //  & > img {
              //    margin-top: 5px;
              //    max-width: 39px;
              //    height: 40px;
              //    vertical-align: middle;
              //    @include media('>hignDesktop') {
              //      height: 70px;
              //      max-width: 70px;
              //      margin-top: 7px;
              //    }
              //  }
              //}
              //
              //.panel-content {
              //  margin-top: 20px;
              //  color: #ffffff;
              //
              //  .back {
              //    color: rgba(64, 64, 64, 1);
              //    text-transform: uppercase;
              //    font-weight: 600;
              //    @include media('>hignDesktop') {
              //      font-size: 30px;
              //    }
              //  }
              //
              //  .title {
              //    color: #B2996C;
              //    position: relative;
              //    top: -12px;
              //    @include media('>hignDesktop') {
              //      font-size: 16px;
              //      top: -20px;
              //    }
              //  }
              //
              //  .article {
              //    font-size: 9px;
              //    text-align: left;
              //    color: #858585;
              //    padding-left: 10px;
              //    padding-right: 10px;
              //    @include media('>hignDesktop') {
              //      padding-left: 43px;
              //      padding-right: 43px;
              //      margin-top: 20px;
              //      font-size: 14px;
              //    }
              //    @include media('<tablet') {
              //      font-size: 14px;
              //      padding-left: 26px;
              //      padding-right: 26px;
              //    }
              //  }
              //}

            }
          }
        }
      }


    }

    .footer {
      width: 100%;
      position: absolute;
      bottom: 0;
      left: 0;
    }
  }
}


//导航
#pc-nav {
  @include media("<=tablet") {
    display: none;
  }
  width: 100%;
  height: $nav-height;
  line-height: 110px;
  @include media("<hignDesktop") {
    height: $nav-height-desktop;
    line-height: $nav-height-desktop;
  }
  //position: fixed;
  z-index: 10;
  box-shadow: 0px 1px 0px 1px rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);

  & > .container {
    width: 1920-370*2px;
    @include media("<hignDesktop") {
      width: 900px;
    }
    overflow: hidden;
    margin: auto;
    text-align: center;
    position: relative;

    .nav-items {
      position: absolute;
      //left: -20px;
      li {
        display: inline-block;
        width: 70px;
        height: 26px;
        line-height: 26px;
        overflow: hidden;
        vertical-align: middle;

        &:hover > .wrap {
          top: -26px;
        }


        .wrap {
          position: relative;
          top: 0;
          transition: top 0.20s ease;

          a {
            text-decoration: none;
            color: $font-color-secondary;
            font-size: 16px;
            display: block;
            @include media("<hignDesktop") {
              font-size: 14px;
            }
          }

          .en {
            //visibility: hidden;
            font-size: 14px;
            color: $font-color-primary;
            text-transform: Uppercase;
            @include media("<hignDesktop") {
              font-size: 12px;
            }
          }
        }

      }

    }

    .logo {
      display: inline-block;
      margin: 0 auto;
      height: 110px;
      line-height: 110px;
      @include media("<hignDesktop") {
        height: 80px;
        line-height: 80px;
      }

      img {
        width: 54px;
        height: 68px;
        border-width: 0;
        @include media("<hignDesktop") {
          width: (54px*0.8);
          height: (68px*0.8);
        }
        vertical-align: middle;
      }
    }

    .nav-info {
      display: inline-block;
      position: absolute;
      right: 15px;

      .border {
        display: inline-block;
        width: 20px;
        height: 20px;
        @include media("<hignDesktop") {
          width: 16px;
          height: 16px;
        }
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        //border: 1px dashed #fff;
        margin-left: 30px;
        vertical-align: middle;
        padding: 1px;
      }

    }
  }

}

#m-nav {
  @include media(">tablet") {
    display: none;
  }
  height: 50px;
  line-height: 50px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #000000;
  overflow: hidden;

  .left {
    float: left;
    height: 100%;
    font-size: 0;

    .logo {
      width: 28px;
      vertical-align: middle;
    }
  }

  .right {


    float: right;
    font-size: 0;

    .menu {
      width: 26px;
      height: 26px;
      vertical-align: middle;
    }
  }

}

//移动菜单层
#menu-layer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  opacity: .8;
  position: relative;

  .close {
    width: 30px;
    height: 30px;
    z-index: 999;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .title {
    color: #ffffff;
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    height: 30px;
    line-height: 30px;
  }

  .nav-items {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    a {
      color: #ffffff;
    }

    li {
      margin: 30px;
    }
  }
}

//下滑呼吸
.respire-con {
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 999;
  text-align: center;

  .respire {
    width: 7px;
  }
}

footer {

  #pc-footer {
    width: 100%;
    height: 150px;
    position: relative;
    top: 0;
    z-index: 100;
    background-color: #000;
    @include media("<hignDesktop") {
      height: 90px;
    }
    @include media("<tablet") {
      display: none;
    }

    .container {
      width: 80%;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      text-align: left;

      .link {
        line-height: 15px;

        & > * {
          vertical-align: middle;
        }

        a {
          color: #fff;
          text-decoration: none;
          margin-right: 68px;
          font-size: 16px;
          @include media("<hignDesktop") {
            font-size: 14px;
            margin-right: 25px;
          }
        }

        margin-bottom: 13px;
        @include media("<hignDesktop") {
          margin-bottom: 13px;
        }
      }

      p {
        font-size: 14px;
        opacity: 0.4;
        margin-right: 8px;
        @include media("<hignDesktop") {
          font-size: 12px;
        }
        @include media("<tablet") {
          position: relative;
          top: 20px;
        }
      }

      .info {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        font-size: 12px;
        @include media("<hignDesktop") {
          font-size: 14px;
        }

        .img {
          display: inline-block;
          width: 14px;
          height: 13px;
          background-repeat: no-repeat;
          background-position: center;
          background-size: contain;
          margin-right: 30px;
          @include media("<hignDesktop") {
            margin-right: 15px;
          }
        }

        .right {
          width: 10px;
          height: 8px;
        }
      }
    }
  }

  #m-footer {
    display: none;
    width: 100%;
    position: relative;
    top: 0;
    z-index: 100;
    color: rgb(173, 173, 173);
    background-color: #000;
    font-size: 13px;
    text-align: center;
    @include media("<tablet") {
      display: block;
    }

    p {
      line-height: 23px;
    }

    a {
      color: rgb(173, 173, 173);
    }

    .container {
      padding: 10px 10px;
      overflow: hidden;

      .row {
        overflow: hidden;
        margin: 8px auto;

        .link {
          display: inline-block;

        }

        & > * {
          display: flex;
          align-items: center;

          & > * {
            margin: 0 3px;
          }

          .icon {
            width: 23px;
          }

          .facebook {
            display: none;
          }
        }

        .left {
          float: left;
        }

        .right {
          float: right;
        }
      }


    }
  }
}

.index-nav {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
}

.case-nav {
  background-color: #222222;
}

//case子菜单
.submenu {
  width: 100%;
  height: 42px;
  background: #333;
  color: #FFF;

  .container {
    width: 70%;
    margin: auto;
    overflow: hidden;
    height: 42px;
    line-height: 42px;
    @include media("<tablet") {
      width: 95%;
    }

    .font-base {
      display: inline-block;
      float: left;
      font-size: 14px;
    }

    #case-hd {
      display: inline-block;
      float: right;

      & > button {
        margin: 0;
        padding: 0;
        border: 1px solid transparent; //自定义边框
        outline: none; //消除默认点击蓝色边框效果
        background: transparent;
        color: #FFF;
        margin-left: 3px;
        cursor: pointer;
      }

      & > .active {
        color: #B2996C;
      }
    }

  }


}

#case {
  width: 70%;
  margin: auto;
  position: relative;
  min-height: calc(100vh - 110px);
  background: #000000;
  padding-bottom: 40px;
  @include media('<tablet') {
    width: 100%;
  }


  .item {
    overflow: hidden;
    position: absolute;
    box-sizing: border-box;


    img {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      display: none;
    }

    &[data-state="init"] {
      transform: translateY(500px);
    }

    &[data-state="start"] {
      animation: start 1s;
    }

    &[data-state="move"] {
      transition: top 0.5s, left 0.5s, width 0.5s, height 0.5s;
    }


    @keyframes start {
      from {
        transform: translateY(500px);
      }
      to {
        transform: translateY(0);
      }
    }

  }

  .x1 {
    height: 0;
    padding-bottom: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .x2 {
    height: 0;
    padding-bottom: 50%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }


  .tip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;


  }

  .ani-border {
    //display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    &:hover > span {
      color: #000;
    }

    span {
      position: absolute;
      top: 50%;
      left: 50%;
      padding: 10px 20px;
      transform: translate(-50%, -50%);
      color: #999;

    }

    & > .dire {
      position: absolute;
      background-color: #000000;
      transition: .4s;
    }

    &:hover {
      .top, .bottom {
        width: 100%;
      }

      .left, .right {
        height: 100%;
      }
    }


    .top {
      top: 0;
      height: 2px;
      width: 0;
    }

    .left {
      left: 0;
      bottom: 0;
      height: 0;
      width: 2px;
    }

    .bottom {
      bottom: 0;
      right: 0;
      height: 2px;
      width: 0;
    }

    .right {
      right: 0;
      height: 0;
      width: 2px;
    }
  }
}

#detail {
  width: 100%;
  //height: 100%;
  background-color: #000000;

  .swiper-slide {
    //overflow: hidden;
  }

  .swiper-container {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
  }

  .page1 {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    //filter: grayscale(60%);
    .fullbg {
      position: absolute;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);

      h2 {
        margin-top: 380px;
        margin-bottom: 20px;
        font-size: 42px;
        font-weight: 300;
        @include media("<hignDesktop") {
          font-size: 28px;
          margin-top: 250px;
          margin-bottom: 10px;
        }
      }

      h3 {
        font-weight: 300;
        font-size: 32px;
        @include media("<hignDesktop") {
          font-size: 23px;
        }
      }
    }

  }

  .page2 {
    height: auto;
    text-align: left;
    font-weight: 300;
    font-size: 13px;

    .content {
      margin-left: auto;
      margin-right: auto;
      padding-top: 120px;
      padding-bottom: 30px;
      width: 80%;
      overflow: hidden;

      h1 {
        font-size: 22px;
        font-weight: 500;
      }

      h2 {
        font-size: 13px;
        font-weight: 400;
      }

      img {
        width: 100%;
        display: block;
        margin: auto;
      }
    }
  }
}

#about {
  background-color: #000000;
  color: #ffffff;
  @include media("<tablet") {
    margin-top: 50px;
  }

  .banner {
    text-align: center;
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    @include media("<tablet") {
      height: 200px;
    }

    img {
      width: 100%;
      height: 100%;
      display: none;
    }

    .wrap {
      position: absolute;
      top: 50%;

      width: 100%;
      color: #FFFFFF;
      font-size: 26px;
      line-height: 30px;
      @include media("<hignDesktop") {
        font-size: 18px;
        top: 45%;
      }

      @include media("<tablet") {
        top: 30%;
      }
    }
  }

  .content-container {
    width: 80%;
    margin: auto;
  }

  .swiper-container, .swiper-wrapper, .swiper-slide {
    height: 560px;
    @include media("<tablet") {
      height: 360px;
    }
  }

  .panel1 {
    text-align: center;
    line-height: 25px;
    padding-top: 140px;
    padding-bottom: 156px;
    @include media("<hignDesktop") {
      padding-top: 120px;
      padding-bottom: 136px;
    }
    @include media("<tablet") {
      padding-top: 40px;
      padding-bottom: 46px;
    }

    h2 {
      color: #B2996C;
      font-size: 18px;
      @include media("<hignDesktop") {
        font-size: 16px;
      }
      margin-bottom: 10px;
    }

    .title {
      font-size: 16px;
      margin-bottom: 5px;
      @include media("<hignDesktop") {
        font-size: 14px;
      }
    }

    .desc {
      font-size: 12px;
      color: #666666;
    }
  }

  .swiper-container {
    .con {
      position: absolute;
      top: 50%;
      width: 32px;
      height: 32px;
      z-index: 999;
      cursor: pointer;
    }

    .right {
      right: 10px;
      transform: translateY(-50%);
    }

    .left {
      left: 10px;
      transform: translateY(-50%) rotate(180deg);
    }

    .custom-pagination {
      position: absolute;
      bottom: 30px;
      left: 30px;
      z-index: 999;
      overflow: hidden;

      .pagination-switch {
        float: left;
        opacity: 0.6;
        margin-right: 40px;
        cursor: pointer;
        transition: opacity .7s;

        .tip {
          font-size: 80px;
          @include media('<tablet') {
            font-size: 40px;
            font-weight: 600;
          }
        }


        &:nth-child(1) {
          opacity: 1;
        }
      }
    }

    .swiper-slide {
      width: 100%;
      //height: 560px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      //@include media("<hignDesktop") {
      //  height: 360px;
      //}
    }
  }

  .panel2 {
    padding-top: 100px;
    padding-bottom: 100px;

    .title {
      color: #B2996C;
      line-height: 30px;
    }

    .hr {
      width: 50px;
      height: 6px;
      background-color: #B2996C;
      margin-top: 30px;
    }

    article {
      color: #999999;
      line-height: 30px;
      font-size: 14px;
    }
  }
}

#product {
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;

  #index_pro {
    padding-top: 5px;
    margin-left: -5px;
    margin-right: -5px;
    overflow: hidden;
    position: relative;

    .col {
      float: left;
      padding-left: 5px;
      padding-right: 5px;
      width: 25%;
      box-sizing: border-box;
      @include media('<tablet') {
        width: 50%;
        margin-bottom: 10px;
      }

      .panel {
        height: 0;
        padding-bottom: (475%/248*100);
        position: relative;
        overflow: hidden;
      }

      .wrap {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;


        .split {
          width: 100%;
          height: 10px;
        }

        .grid {
          width: 100%;
          height: calc(50% - 5px);

          &:nth-child(2) {
            margin-top: 10px;
          }
        }

        .index_pro_list {
          cursor: pointer;
          width: 100%;
          height: 100%;
          overflow: hidden;
          position: relative;
          display: inline-block;

          background-repeat: no-repeat;
          background-position: center;
          background-size: cover;

          filter: grayscale(100%);
          filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
          filter: gray;
          transition: filter 1s;

          & > img {
            display: none;
          }

          .bgfull {
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, .3);
            transition: background-color 1s;
            z-index: 10;
          }

          &:hover {
            filter: grayscale(0%);
          }

          &:hover .bgfull {
            background-color: rgba(0, 0, 0, 0);
          }

          &:hover .blackimg {
            opacity: 0;
          }

          .bottomimg {
            width: 100%;
          }

          .blackimg {
            z-index: 11;
            width: 100%;
            position: absolute;
            top: 50%;
            text-align: center;
            color: #ffffff;
            transform: translateY(-50%);
            transition: opacity 1s;
            @include media('<tablet') {
              img {
                width: 30px;
              }
              .index_pro_t {
                font-size: 13px;
              }
            }
          }

        }

      }


    }

  }

  .page2 {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding-top: 110px;
    padding-bottom: 150px;
    @include media('<tablet') {
      padding-bottom: 0;
      padding-top: 40px;
    }

    .index_midbanner {
      width: 80%;
      margin: auto;
      overflow: hidden;

      .imlist {
        float: left;
        width: 25%;
        text-align: center;
        box-sizing: border-box;
        padding: 0 50px;
        @include media('<tablet') {
          width: 50%;
          height: 250px;
          padding: 0 10px;
          margin-bottom: 0;
        }

        .t {
          font-size: 40px;
          @include media("<hignDesktop") {
            font-size: 33px;
          }
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;

          padding-bottom: 18px;
          @include media('<tablet') {
            padding-bottom: 30px;
            padding-top: 10px;
          }
        }

        .b {
          font-size: 18px;
          color: #666666;
          @include media("<hignDesktop") {
            font-size: 15px;
          }
          margin-top: 13px;
          margin-bottom: 10px;
        }

        .d {
          font-size: 14px;
          color: #666666;
          @include media("<hignDesktop") {
            font-size: 12px;
          }
        }
      }
    }

  }

  .page3 {
    width: 80%;
    margin: 70px auto;
    @include media('<tablet') {
      margin-top: 0;
      margin-bottom: 0;
    }
    //提示
    .index_tb_adv {
      text-align: center;
      color: #B2996C;
      font-size: 38px;
      @include media("<hignDesktop") {
        font-size: 30px;
      }

      .index_t {
        margin-bottom: 15px;
      }

      .index_b {
        margin-top: 3px;
        color: #999999;
        font-size: 14px;
        @include media("<hignDesktop") {
          font-size: 12px;
        }
      }
    }

    //展示面板
    .index_adv_content_way {
      margin-top: 70px;
      margin-bottom: 70px;
      position: relative;
      overflow: hidden;
      height: 350px;
      @include media('<tablet') {
        height: 700px;
        margin-top: 10px;
        margin-bottom: 0;
      }

      .swiper-container {
        height: 100%;

      }

      //一个面板
      .index_adv_content {
        position: absolute;
        top: 0;
        display: none;
        overflow: hidden;
        @include media('<tablet') {
          display: block;
          position: static;
          top: unset;
        }
        //transition: visibility 1s;
        & > * {
          float: left;
        }

        .index_adv_content_left {
          padding-top: 50px;
          width: 40%;

          img {
            width: 100%
          }

          @include media('<tablet') {
            width: 100%;
          }
        }

        .index_adv_content_right {
          width: 60%;
          padding: 50px 45px;
          box-sizing: border-box;
          color: #999999;
          @include media('<tablet') {
            width: 100%;
            padding: 50px 10px;
          }

          .index_adv_content_right_t_right_t {
            color: #B2996C;
            font-size: 30px;
            margin-bottom: 15px;
            @include media("<hignDesktop") {
              font-size: 23px;
            }
          }

          .index_adv_content_right_t_right_b {
            font-size: 21px;
            margin-bottom: 50px;
            @include media("<hignDesktop") {
              font-size: 17px;
            }
          }
        }
      }

      .show {
        display: block;
      }
    }

    .index_adv_choose {
      width: 100%;
      margin-left: -20px;
      margin-right: -20px;
      overflow: hidden;
      @include media('<tablet') {
        display: none;
      }

      .block {
        padding: 20px;
        width: 20%;
        float: left;
        box-sizing: border-box;
        display: inline-block;
        color: #777;
        font-size: 0;
        font-weight: bold;
        text-align: center;
        cursor: pointer;
        @include media('<tablet') {
          width: 50%;
        }


        .index_adv_choose_li {

          display: block;
          height: 96px;
          line-height: 96px;
          border: 2px solid #666;
          color: #777;
          font-size: 0;
          font-weight: bold;
          text-align: center;
          @include media('<tablet') {
            width: 47%;
            margin-bottom: 10px;
          }

          & > * {
            vertical-align: middle;
            font-size: 18px;
            @include media("<hignDesktop") {
              font-size: 16px;
            }
          }

          span {
            margin-left: 10px;
          }

          .index_adv01hover {
            display: none;
          }
        }
      }

    }
  }

  .dialog {
    display: none;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    @include media('<tablet') {
      position: absolute;
      top: 20px;
      transform: translateY(0);
    }

    .wrap {
      position: relative;
      box-sizing: border-box;
      padding: 50px 100px;
      background-color: #595959;
      border-radius: 10px;
      width: 80%;
      margin: auto;
      font-weight: 300;
      color: #BBBBBB;
      @include media('<tablet') {
        padding: 50px 10px;
      }

      .close {
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
      }

      .frame {
        border: 2px solid #BBBBBB;
        display: inline-block;
        padding: 8px;
        margin-bottom: 20px;
      }

      .t1 {
        color: #B2996C;
        font-size: 22px;
      }

      .t2 {
        font-size: 14px;
        line-height: 25px;
        font-weight: 400;
      }

      .list {
        margin-top: 60px;
        overflow: hidden;

        .item {
          margin-bottom: 4px;
          box-sizing: border-box;
          width: 50%;
          float: left;
          padding-left: 10px;

          .tip {
            color: #B2996C;
          }

          a {
            margin-left: 20px;
            color: #BBBBBB;
          }
        }
      }
    }
  }
}

#contact {
  color: #ffffff;
  background-color: #000000;
  overflow: hidden;
  position: relative;
  min-height: calc(100vh - 150px - 110px);

  .fullbg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 580px;
    background-color: rgba(0, 0, 0, .3);
    z-index: 99;
    @include media("<hignDesktop") {
      height: 350px;
    }
  }

  #container {
    width: 100%;
    height: 580px;
    @include media("<hignDesktop") {
      height: 350px;
    }
  }

  .content {
    .wrap {
      width: 80%;
      margin: 50px auto;
      font-size: 16px;
      font-weight: 400;
      @include media("<hignDesktop") {
        font-size: 14px;
      }

      h1 {
        color: #E22F51;
        font-size: 22px;
        margin-bottom: 30px;
      }

      .label {
        color: #666666;
      }

      .row {
        line-height: 20px;
      }

      .address-en {
        margin-top: 30px;
        color: #666666;
        margin-bottom: 6px;
      }

      .address {
        font-size: 18px;
        @include media("<hignDesktop") {
          font-size: 14px;
        }
      }
    }
  }
}

#license {
  background-color: #000000;
  color: rgba(255, 255, 255, 0.87);
  padding: 100px 0;

  .wrap {
    width: 75%;
    margin: auto;

    h1 {
      font-size: 30px;
      margin-bottom: 20px;
    }

    p {
      color: #999999;
      font-size: 14px;
      line-height: 30px;
      margin-bottom: 15px;
    }
  }
}

#join {
  color: #ffffff;
  background-color: #000000;
  padding: 100px 0;

  .wrap {
    width: 80%;
    margin: auto;

    .info {
      font-size: 20px;
      line-height: 34px;
      color: #B2996C;
      margin-bottom: 30px;
      @include media("<hignDesktop") {
        font-size: 18px;
      }
    }

    .info-en {
      font-size: 18px;
      line-height: 28px;
      color: #999999;
      margin-bottom: 20px;
      @include media("<hignDesktop") {
        font-size: 16px;
      }
    }

    .echo {
      font-size: 18px;
      line-height: 28px;
      margin-bottom: 20px;
      font-weight: 400;
      @include media("<hignDesktop") {
        font-size: 16px;
      }
    }

    .banner {
      width: 100%;
    }

    .job {
      background: rgba(39, 39, 39, 1);
      padding: 20px;
      position: relative;
      margin-bottom: 30px;

      .main {
        position: relative;

        .title {
          font-size: 18px;
          margin-bottom: 4px;
          max-width: 80%;
          @include media("<hignDesktop") {
            font-size: 16px;
          }
        }

        .has {
          color: #999999;
          max-width: 80%;
          @include media("<hignDesktop") {
            font-size: 14px;
          }

        }

        .toggle {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: 0;
          width: 40px;
          height: 16px;
          cursor: pointer;
        }

        .toggle-open {
          display: none;
        }
      }

      .container {
        display: none;

        .hr {
          width: 100%;
          height: 1px;
          background-color: #575757;
          margin: 20px 0;
        }

        article {
          color: #999999;
          font-size: 14px;
          line-height: 23px;
        }
      }

    }
  }
}
